package cn.net.lwj.common.model;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "ums_department")
public class UmsDepartment {
    @Id
    @Column(name = "court_no")
    private Integer courtNo;

    @Id
    @Column(name = "dept_no")
    private Integer deptNo;

    @Column(name = "court_code")
    private String courtCode;

    @Column(name = "court_std_no")
    private Integer courtStdNo;

    @Column(name = "org_code")
    private String orgCode;

    @Column(name = "unicode")
    private Integer unicode;

    @Column(name = "level")
    private Integer level;

    @Column(name = "dept_name")
    private String deptName;

    @Column(name = "dept_st_name")
    private String deptStName;

    @Column(name = "level_code")
    private String levelCode;

    @Column(name = "officer_position")
    private Integer officerPosition;

    @Column(name = "num_of_staff")
    private Integer numOfStaff;

    @Column(name = "is_valid")
    private Integer isValid;

    @Column(name = "is_visible")
    private Integer isVisible;

    @Column(name = "sort_no")
    private Integer sortNo;

    @Column(name = "data_type")
    private Integer dataType;

    @Column(name = "org_type")
    private Integer orgType;

    @Column(name = "court_short_name")
    private String courtShortName;

    @Column(name = "id")
    private String id;

    @Column(name = "INSTITUTION_CODE")
    private String institutionCode;

    @Column(name = "COURT_LEVEL")
    private String courtLevel;

    @Column(name = "DEPT_TYPE")
    private String deptType;

    @Column(name = "IS_PEPLES")
    private String isPeples;

    @Column(name = "IS_LEADERS")
    private String isLeaders;

    @Column(name = "DEPT_PROPERTY")
    private String deptProperty;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    @Column(name = "UPDATE_TIME")
    private Date updateTime;

    @Column(name = "parent_id")
    private String parentId;

    @Column(name = "header")
    private String header;

    @Column(name = "description")
    private String description;
}